package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.common.ResponseEntity;
import com.woniu.car.domain.TUserInfo;
import com.woniu.car.parameter.AddUserInfoParam;
import com.woniu.car.parameter.UserInfoParam;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户详情 服务类
 * </p>
 *
 * @author zhoubinbin
 * @since 2021-06-21
 */
public interface TUserInfoService extends IService<TUserInfo> {
    //用户详情修改
    ResponseEntity updateUserInfo(UserInfoParam userInfoParam, HttpServletRequest request) throws Exception;
    //查询用户详情
    ResponseEntity getUserInfo(Integer userId) throws Exception;
    //修改用户电话
    ResponseEntity updateTel(HttpServletRequest request, String tel) throws Exception;
    //新增用户详情
    ResponseEntity addUserInfo(AddUserInfoParam addUserInfoParam);
}
